package com.example.demo.service;

import com.example.demo.model.AreaEntity;
import com.example.demo.model.CityEntity;
import com.example.demo.model.DistrictEntity;
import com.example.demo.model.ProvinceEntity;

import java.util.List;

public interface QueryService {

    List<ProvinceEntity> getAllProvinces();

    List<CityEntity> getCitiesByProvinceAdcode(String adcode);

    List<DistrictEntity> getDistrictsByCityAdcode(String adcode);

    AreaEntity getAreaByAdcode(String adcode);

}
